gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type > Class Template Reference

#include <hash_distr.hpp>

Collaboration diagram for gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >:
Collaboration graph
[legend]

List of all members.

Classes

struct  branch_data_pair
struct  bus_data_pair

Public Types

typedef _network NetworkType
typedef boost::shared_ptr
< NetworkType
NetworkPtr

Public Member Functions

 HashDistribution (const boost::shared_ptr< _network > network)
 ~HashDistribution (void)
void distributeBusValues (std::vector< int > &keys, std::vector< _bus_data_type > &values)
void distributeBusValues (std::vector< int > &keys, std::vector< _bus_data_type * > &values, int nvals)
void distributeBranchValues (std::vector< std::pair< int, int > > &keys, std::vector< int > &branch_ids, std::vector< _branch_data_type > &values)
void distributeBranchValues (std::vector< std::pair< int, int > > &keys, std::vector< int > &branch_ids, std::vector< _branch_data_type * > &values, int nvals)

template<typename _network, typename _bus_data_type, typename _branch_data_type>
class gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >


Member Typedef Documentation

template<typename _network, typename _bus_data_type, typename _branch_data_type>
typedef boost::shared_ptr<NetworkType> gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::NetworkPtr
template<typename _network, typename _bus_data_type, typename _branch_data_type>
typedef _network gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::NetworkType

Constructor & Destructor Documentation

template<typename _network, typename _bus_data_type, typename _branch_data_type>
gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::HashDistribution ( const boost::shared_ptr< _network >  network  ) 
template<typename _network, typename _bus_data_type, typename _branch_data_type>
gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::~HashDistribution ( void   ) 

Member Function Documentation

template<typename _network, typename _bus_data_type, typename _branch_data_type>
void gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::distributeBranchValues ( std::vector< std::pair< int, int > > &  keys,
std::vector< int > &  branch_ids,
std::vector< _branch_data_type * > &  values,
int  nvals 
)
template<typename _network, typename _bus_data_type, typename _branch_data_type>
void gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::distributeBranchValues ( std::vector< std::pair< int, int > > &  keys,
std::vector< int > &  branch_ids,
std::vector< _branch_data_type > &  values 
)
template<typename _network, typename _bus_data_type, typename _branch_data_type>
void gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::distributeBusValues ( std::vector< int > &  keys,
std::vector< _bus_data_type * > &  values,
int  nvals 
)
template<typename _network, typename _bus_data_type, typename _branch_data_type>
void gridpack::hash_distr::HashDistribution< _network, _bus_data_type, _branch_data_type >::distributeBusValues ( std::vector< int > &  keys,
std::vector< _bus_data_type > &  values 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1